package cn.darkhorse.ticket.basis.service;

import cn.darkhorse.ticket.basis.pojo.TicketProductType;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 产品分类 服务类
 * </p>
 *
 * @author wangxinghui
 * @since 2024-01-09
 */
public interface TicketProductTypeService extends IService<TicketProductType> {
	
	/**
	 * 编码、名称判重
	 * @param productType
	 */
	String repeat(TicketProductType productType);
	
	/**
	 * 是否被引用
	 * @param id
	 * @return
	 */
	boolean isQuote(Long id);

}
